#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    srand(time(NULL));
    int T;
    cin>>T;
    while(T--) cout<<rand()%20<<"\n";
    return 0;
}
